﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace TrafficSplitter
{
    public partial class Routes : Form
    {
        public Routes(String title, List<String> routes)
        {
            InitializeComponent();

            lstRoutes.Items.Clear();
            this.Text = title;
            this.label1.Text = "Route entries: " + routes.Count.ToString();

            foreach (String str in routes)
            {
                lstRoutes.Items.Add(str);
            }
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
